package com.wx.chapter12.exception_;

/**
 * @Author : 佩萁
 * Description :
 * @Create : 2023/6/16 - 11:03
 */
public class NullPointerException_ {
    public static void main(String[] args) {
        try {
            String name = null;
            System.out.println(name.length());
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
